<?php

namespace app\screen\controller;

use app\BaseController;


class ScreenBase extends BaseController {

    public $token='';
    public $screenId=0;
    public function initialize(){
        parent::initialize();
        $this->token=$this->request->header('authorization');
        $this->screenId=cache(config("redis.token_pre") . $this->token)['id'];
    }

}
